﻿<local:BaseLab x:Class="$safeprojectname$.Examples.OutOfBrowserLab"
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:local="clr-namespace:$safeprojectname$"
               xmlns:labs="clr-namespace:DaveSexton.Labs;assembly=DaveSexton.Labs"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
               xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
               xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
               mc:Ignorable="d" 
               d:DesignHeight="300" d:DesignWidth="300">

  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition />
      <RowDefinition Height="10" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>

    <labs:OutOfBrowserContentControl Grid.Row="0">
      <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"
                 Margin="10">
    
        This message will not be visible in a Silverlight lab that is running within a web browser.

      </TextBlock>
    </labs:OutOfBrowserContentControl>

    <Border Grid.Row="1" Background="Blue" />

    <Border Grid.Row="2" VerticalAlignment="Center" Background="LightGreen">
      <TextBlock Margin="10" HorizontalAlignment="Center" Foreground="DarkBlue">
      
        This message will be visible in a web browser.

      </TextBlock>
    </Border>

  </Grid>

</local:BaseLab>